package day20180128.testProxyStatic;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.sql.Connection;

/**
 * Created by 14394 on 2018/1/29.
 *
 */
public class TransactionInvcationHandler implements InvocationHandler {

    private Object target;

    public TransactionInvcationHandler(Object target) {
        this.target = target;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        Object retValue= null;
        Connection conn = null;


            conn=DBUtil.getConnection();


        return null;
    }
}
